<div ng-init="init();" class="kmi-layout-content B1302-content">
    <div class="kmi-header-row">
        <div class="kmi-side-btn left" ng-click="back();">
            <i class="material-icons">&#xE408;</i>
            <div class="kmi-can-click"></div>
        </div>
        <div class="brand-title">
            <div class="custom" ng-if="companyName">
                <div class="title" ng-bind="companyName"></div>
                <img src="" alt="" class="brand">
                <div class="gap"></div>
            </div>
            <div class="digiwin">
                <img src="image/smes_v340/logo_ch.png" alt="">
                <img src="image/smes_v340/logo_en.png" alt="">
            </div>
        </div>
        <div class="header-title" ng-bind="'B1302.title' | translate"></div>
        <div class="header-logo"></div>
    </div>
    <div class="kmi-layout-main-content">
        <div class="kmi-layout-page">
            <div class="kmi-text-fields">
                <label class="label" ng-bind="'B1302.item_display' | translate"></label>
                <input ng-model="query_product_no"></input>
                <div class="tip search" ng-click="loadItemNo();"><img src="image/icons/search.png"></img> </div>
                <div class="kmi-button kmi-button-confrim btn-confirm" ng-click="search()"
                    style="width:100px;margin-left: 40px;">
                    <label ng-bind="'B1302.search' | translate"></label>
                    <div class="kmi-can-click"></div>
                </div>
            </div>
            <div class="kmi-text-fields">
                <label class="label" ng-bind="'B1302.lot_no' | translate"></label>
                <input ng-model="query_lot_no"></input>
                <div class="tip search" ng-click="loadlotNo();"><img src="image/icons/search.png"></img> </div>
                <div class="kmi-button kmi-button-confrim btn-confirm"
                    style="width:100px;margin-left: 40px; visibility:hidden; ">
                </div>
            </div>
            <div class="kmi-list column-selector" column-selector-id="plot_info_detail">
                <div class="kmi-list__header">
                    <div class="kmi-list__column" style="flex:0 0 36px;"></div>
                    <div class="kmi-list__column" style="flex:z;" ng-bind="'B1302.list.column00' | translate"></div>
                    <div class="kmi-list__column head-controls" style="flex:1;">
                        <div class="filter" ng-show="filterSH.item_no">
                            <input ng-model="list_filter.item_no">
                            <i class="material-icons clear" style="position: absolute;top: 2px;right: 4px;"
                                ng-click="filterSH.item_no = false;list_filter.item_no = '';">clear</i>
                        </div>
                        <div class="order" ng-hide="filterSH.item_no">
                            <i class="material-icons search" style="z-index:1;"
                                ng-click="filterSH.item_no = true">search</i>
                            <label ng-bind="'B1302.list.column01'| translate"></label>
                        </div>
                    </div>
                    <div class="kmi-list__column head-controls" style="flex:1;">
                        <div class="filter" ng-show="filterSH.item_name">
                            <input ng-model="list_filter.item_name">
                            <i class="material-icons clear" style="position: absolute;top: 2px;right: 4px;"
                                ng-click="filterSH.item_name = false;list_filter.item_name = '';">clear</i>
                        </div>
                        <div class="order" ng-hide="filterSH.item_name">
                            <i class="material-icons search" style="z-index:1;"
                                ng-click="filterSH.item_name = true">search</i>
                            <label ng-bind="'B1302.list.column02'| translate"></label>
                        </div>
                    </div>
                    <div class="kmi-list__column" style="flex:1;" ng-bind="'B1302.list.column01' | translate"></div>
                    <div class="kmi-list__column" style="flex:1;" ng-bind="'B1302.list.column04' | translate"></div>
                    <div class="kmi-list__column" style="flex:1;" ng-bind="'B1302.list.column05' | translate"></div>
                    <div class="kmi-list__column" style="flex:0 0 60px;" ng-bind="'B1302.list.column06' | translate">
                    </div>
                    <div class="kmi-list__column" style="flex:1;" ng-bind="'B1302.list.column07' | translate"></div>
                    <div class="kmi-list__column" style="flex:1;" ng-bind="'B1302.list.column10' | translate"></div>
                </div>
                <div class="kmi-list__row-content">
                    <div class="kmi-list__row" ng-class="{'is-select':select_group_id == item.group_id}"
                        ng-repeat="item in transfer_data |filter:list_filter track by $index">
                        <div class="kmi-list__column" style="flex:0 0 40px;z-index:1;">
                            <button class="mdl-button mdl-js-button mdl-button--icon" ng-click="itemClick($index,item)">
                                <img ng-show="item.ischeck == false" src="image/icons/check0.png"></img>
                                <img ng-show="item.ischeck == true" src="image/icons/check1.png"></img>
                            </button>
                        </div>
                        <div class="kmi-list__column  column-border" style="flex:1;" ng-bind="item.group_id"></div>
                        <div class="kmi-list__column  column-border" style="flex:1;" ng-bind="item.product_no"></div>
                        <div class="kmi-list__column  column-border" style="flex:1;" ng-bind="item.product_name"></div>
                        <div class="kmi-list__column  column-border" style="flex:1;" ng-bind="item.product_version">
                        </div>
                        <div class="kmi-list__column  column-border" style="flex:1;" ng-bind="item.product_unit_no">
                        </div>
                        <div class="kmi-list__column  column-border" style="flex:1;" ng-bind="item.lot_no"></div>
                        <div class="kmi-list__column  column-border" style="flex:1;" ng-bind="item.qty"></div>
                        <div class="kmi-list__column" style="flex:0 0 60px;" ng-bind="item.op_no"></div>
                        <div class="kmi-list__column" style="flex:0 0 60px;" ng-bind="item.create_date"></div>
                        <div class="kmi-can-click" ng-click="RowClick($index,item)"></div>
                        <!--<div class="kmi-can-click" ng-click="item.btn_mode = !item.btn_mode"></div>-->
                    </div>
                </div>
            </div>
            <div class="kmi-text-fields">

            </div>
            <div class="kmi-list column-selector" column-selector-id="selectedList">
                <div class="kmi-list__header">
                    <div class="kmi-list__column" style="flex:0 0 32px;padding:0px;"></div>
                    <div class="kmi-list__column" style="flex:1;" ng-bind="'B1302.list.column01' | translate"></div>
                    <div class="kmi-list__column" style="flex:1;" ng-bind="'B1302.list.column05' | translate"></div>
                    <div class="kmi-list__column" style="flex:1;" ng-bind="'B1302.list.column07' | translate"></div>
                    <div class="kmi-list__column" style="flex:1;" ng-bind="'B1302.list.column08' | translate"></div>
                    <div class="kmi-list__column" style="flex:1;" ng-bind="'B1302.list.column09' | translate"></div>
                    <div class="kmi-list__column" style="flex:1;" ng-bind="'B1302.list.column06' | translate"></div>

                </div>
                <div class="kmi-list__row-content">
                    <div class="kmi-list__row" ng-repeat="item in transfer_data_detail track by $index">
                        <div class="kmi-list__column" style="flex:0 0 32px;padding:0px;">
                            <!-- <button class="mdl-button mdl-js-button mdl-button--icon" ng-click="returnTarget($index,item)">
                                <img  src="image/icons/delete1.png"></img>
                            </button> -->
                        </div>
                        <div class="kmi-list__column column-border column-input" style="flex:1;"
                            ng-bind="item.product_no"></div>
                        <div class="kmi-list__column column-border" style="flex:1;" ng-bind="item.lot_no"></div>
                        <div class="kmi-list__column column-border" style="flex:1;" ng-bind="item.op_no"></div>
                        <div class="kmi-list__column column-border" style="flex:1;" ng-bind="item.process_no"></div>
                        <div class="kmi-list__column column-border" style="flex:1;" ng-bind="item.process_version">
                        </div>
                        <div class="kmi-list__column column-border" style="flex:1;" ng-bind="item.qty"></div>
                    </div>
                </div>
            </div>
        </div>
        <div class="kmi-layout-footer">
            <button class="mdl-button mdl-js-button mdl-button--fab mdl-shadow--custom mdl-button--custom1"
                ng-click="confirm();" ng-disabled="checked_len == 0">
                <i class="material-icons">done</i>
            </button>
        </div>
    </div>
</div>